
<!DOCTYPE html>
<html lang="en">
<head>
    <meta charset="UTF-8">
    <meta name="viewport" content="width=device-width, initial-scale=1.0">
    <title>Document</title>
</head>
<body>
    <h1 id="h1"></h1>
</body>
</html>

<script>
    let obj = {
        uniapp:"nihao"
    }

    let hround = obj.uniapp

    Object.defineProperty(obj,"uniapp",{
        get:()=>{
            return hround
        },
        set:(e)=>{
            hround = e
            console.log(e)
        }
    })

</script>